//
//  YouBeautyBaseViewController.h
//  YouBeauty
//
//  Created by Kelly xu on 2019/4/4.
//  Copyright © 2019 changrenTech. All rights reserved.
//

#import "ViewController.h"

NS_ASSUME_NONNULL_BEGIN

@interface YouBeautyBaseViewController : ViewController
//navbar隐藏
-(void)setNavBarHidden;
//self.view的originY从导航栏下面开始
-(void)setNavBottomLayout;
//self.view的originY从导航栏上面开始
-(void)setNavTopLayout;
//设置左按钮标题
-(void)setNavLeftBtn:(NSString*)text color:(UIColor*)color;
//设置右按钮标题
-(void)setNavRightBtn:(NSString*)text color:(UIColor*)color;
//设置导航栏标题颜色
-(void)setNavTitleColor:(UIColor*)color;
//设置导航栏颜色
-(void)setNavColor:(UIColor*)color;
//设置标题以及其字体颜色
-(void)setNavTitleColor:(UIColor*)color title:(NSString*)title;
//设置导航栏底部线颜色
-(void)setNavBottomLineColor:(UIColor*)color;
//设置左侧按钮图片
-(void)setNavLeftBtnForImage:(UIImage*)image;
//右侧两个按钮
-(void)setNavRightBtnForImage:(UIImage*)image rightBtn2ForImage:(UIImage*)image2;
//设置右侧按钮图片
-(void)setNavRightBtnForImage:(UIImage*)image;
//设置右侧按钮背景图片
-(void)setNavRightBtnForBackImage:(UIImage*)image;
//设置右侧按钮图片和文字
-(void)setNavRightBtnForImage:(UIImage*)image andTitle:(NSString *)title;
//左侧按钮响应方法
-(void)leftbuttonPressed:(id)sender;
//右侧按钮响应方法
-(void)rightbuttonPressed:(id)sender;
//右侧第二个按钮响应方法
-(void)rightbuttonPressed2:(id)sender;
//键盘消失
-(void)dissmissKeyBoard;
@end

NS_ASSUME_NONNULL_END
